<!--{assign var="gflg" value="0"}-->
<!--{foreach from=$nutri_result item=nutri}-->
	<!--{if $nutri.nGroupID != $gflg}-->
		<!--{assign var="gflg" value=$nutri.nGroupID}-->
		<tr id="nutri_<!--{$nutri.nGroupID}-->">
			<td width="60%">
				<div style="padding:10px 10px 10px 0px;margin-bottom:0px;" class="form-group">
					<label for="nGroupID_<!--{$nutri.nGroupID}-->" class="col-sm-3 control-label" style="width:34%;padding-left:0px;text-align:left;"><!--{$nutri.nGroupName}--></label>
					<input type="checkbox" checked name="selectNgroupID" value="<!--{$nutri.nGroupID}-->" style="display:none;">
					<div class="col-sm-9" style="padding-left:0px;width:64%;">
						<select class="form-control w150" id="nGroupID_<!--{$nutri.nGroupID}-->" name="nGroupID_<!--{$nutri.nGroupID}-->" onchange="goodsAdd.npct(<!--{$nutri.nGroupID}-->);" style="display:inline-block;">
							<!--<option value="0">请选择</option>-->
							<!--{foreach from=$nutri_result item=n}-->
								<!--{if $n.nGroupID == $nutri.nGroupID}-->
									<option value="<!--{$n.nid}-->" npct="<!--{$n.npct}-->"><!--{$n.name}--></option>
								<!--{/if}-->
							<!--{/foreach}-->
						</select>
						<input type="text" class="form-control" id="npct_<!--{$nutri.nGroupID}-->" name="npct_<!--{$nutri.nGroupID}-->" disabled style="display:inline-block;width:110px;">
					</div>
				</div>
			</td>
			<td width="12%" style="vertical-align:middle;padding-top:9px;">
				<button class="btn btn-warning" onclick="goodsAdd.nClear('<!--{$nutri.nGroupID}-->');" type="button">删除</button>
			</td>
		</tr>
	<!--{/if}-->	
<!--{/foreach}-->